<!DOCTYPE html>
{% load i18n %}
{% load url from future %}
<html>
<head>
    <title>
    {% block title %}
        Implicit Relevance Feedback
    {% endblock %}
    </title>
<!--
    <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/start/jquery-ui.css" rel="stylesheet" type="text/css"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/jquery-ui.min.js" type="text/javascript"></script>
-->
    <style type="text/css">
    .log-main {
        overflow: hidden;
    }
    .log-left {
        float: left;
    }
    .log-right {
        float: right;
    }
    </style>

    {% block extrastyle %} {% endblock %}

</head>

<body>

{% block content %}

<div data-role="page" data-fullscreen="true" id="home" class="ui-content-transparent">
    <div data-role="header">
        <h1 id="site-name">{% trans "Implicit Relevance Feedback" %}</h1>
        <!--
        <div align="center"> <img src="/resources/irf-logo.png" /> </div>
        -->
    </div>
    <div class="log-main">
        <div class="log-left">
            Logged in as {{ user.get_full_name }} ({{ user.username }}).
        </div>
        <div class="log-right">
            {% url 'django.contrib.auth.views.logout' as logout_url %}
            <a href="{{ logout_url }}?next={{ request.path }}">
                Log out
            </a>
        </div>
    </div>

    <div id="app-content" data-role="content">
        {% block app-content %} {% endblock %}
    </div>
</div>

{% endblock %}

</body>
</html>
